package  is.glif.fenius.translators.nrc;

import java.net.URI;
import java.util.ArrayList;
import java.util.List;

import org.w3c.dom.Node;

import org.apache.muse.ws.addressing.EndpointReference;
import org.apache.muse.ws.addressing.soap.SoapFault;
import org.w3c.dom.Element;

public class Test_Interface2 {
	
	public static void main(String args[]) throws SoapFault, InterruptedException{
		 List GRR_LIST = new ArrayList();
		 URI destination = URI.create("http://localhost:8080/anu-gnrm2/services/anuGNRM/anuGNRM");
		 EndpointReference desEpr = new EndpointReference(destination);
		 anuGNRMProxy anu =  new anuGNRMProxy(desEpr);
		 anu.setTrace(true);
		 
		 
		 anu.releaseResourceResvRequest("69:3089:69::6888:69::7806");
		  
		 
		 
		 
		 
		 
		 
		 /*
		 Element a = anu.anuGetResourcePropertyDocument();
		 int len = a.getChildNodes().getLength();
		 
		 for(int i=0; i<len-1; i=i+2){
			 String b = a.getChildNodes().item(i+1).getAttributes().getNamedItem("resvID").getNodeValue();
			 System.out.println(b);
			 GRR_LIST.add(b);
		 }
		 */

	}

}
